package com.situ.mvc.service;

import java.util.List;

import com.situ.mvc.common.ServerResponse;
import com.situ.mvc.entity.User;

public interface IUserService {

	ServerResponse login(String name, String password);

	ServerResponse pageList(Integer page, Integer limit);

	ServerResponse deleteById(Integer id);

	ServerResponse add(User user);

	User findById(Integer id);

	ServerResponse update(User user);

	ServerResponse deleteAll(String ids);

	List<User> one2oneList();

	List<User> many2manyList();

}
